package com.hushao.aimi.enumVo;

/**
 * @description: 商品状态
 * @author: 胡少
 * @create: 2018-06-12 20:42
 **/
public enum StatusEnum {
    //商品状态
    PRODUCT_ON_SALE( 1,"在售"),
    PRODUCT_NOT_SALE(2,"下架"),
    PRODUCT_DEL_SALE(0,"删除"),

    //推荐状态
    RECOMMEND_NORMAL(1,"正常"),
    RECOMMEND_FORIDDEN(0,"禁用");
    private final int status;
    private final String comment;

    StatusEnum(int status, String comment) {
        this.status = status;
        this.comment = comment;
    }

    public int getStatus() {
        return status;
    }

    public String getComment() {
        return comment;
    }
}
